Reads the passed number of bytes from the internal receive buffer. If fewer bytes than are requested are available, only the existing bytes are returned.
Syntax |
|---|
|
result = TCPSocket.Read( ByteCount, [Encoding] ) |
Parameters |
|
|---|---|
|
ByteCount |
|
|
Encoding |
TextEncoding (Optional) |
Return Value |
|
|---|---|
|
Result |
|